
public class FreeNode<T> {
	private Integer depth;
	private Tree<T> parentNode;
	
	public FreeNode(Integer depth, Tree<T> paranetNode) {
		setDepth(depth);
		setParentNode(paranetNode);
	}
	
	public Integer getDepth() {
		return depth;
	}
	private void setDepth(Integer depth) {
		this.depth = depth;
	}
	public Tree<T> getParentNode() {
		return parentNode;
	}
	private void setParentNode(Tree<T> parentNode) {
		this.parentNode = parentNode;
	}
}
